import oop.Demo_SingleCaseDesignMode;


//单例设计模式
public class SingleCaseDesignMode {
    //创建对象
    static SingleCaseDesignMode scdm = new SingleCaseDesignMode();

    //私有构造方法
    private SingleCaseDesignMode() {

    }

    //提供方法返回对象
    public static SingleCaseDesignMode getDemoImportant() {
        return scdm;
    }
}
